package com.ytoglobal.overseas.address.platform.model.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

@Data
public class AddressMessageResponse extends BaseResponse {

    /**
     * 国家
     **/
    @JSONField(name = "country")
    private String country;

    /**
     * 省
     **/
    @JSONField(name = "province")
    private String province;

    @JSONField(name = "province_code")
    private String provinceCode;

    @JSONField(name = "city")
    private String city;

    @JSONField(name = "city_code")
    private String cityCode;

    @JSONField(name = "district")
    private String district;

    @JSONField(name = "district_code")
    private String districtCode;

    @JSONField(name = "town")
    private String town;

    @JSONField(name = "town_code")
    private String townCode;

    /**
     * 原始地址
     */
    private String originAdd;

    /**
     * 名称
     */
    private String name;

    /**
     * 详细地址
     */
    private String detail;
}
